Use 'index_of' instead
Gets the index of the first occurrence of a value in the list, or -1 if not found.
0.9.0
The value to search for.